package com.tcm.logistics.service;


import com.tcm.logistics.entity.LogisticsFreight;

import java.util.List;

public interface LogisticsFreightService {

    /**
     * 运费模板
     * @param shopId
     * @return
     */
    List<LogisticsFreight> listFreight(Long shopId);


    /**
     * 获得运费模板
     * @param id
     * @return
     */
    LogisticsFreight findById(Long id, Long shopId);

    /**
     * 新增运费模板
     * @param logisticsFreight
     */
    void create(LogisticsFreight logisticsFreight);

    /**
     * 更新运费模板
     * @param logisticsFreight
     */
    void update(LogisticsFreight logisticsFreight);

    /**
     * 逻辑删除运费模板
     * @param id
     * @return
     */
    int deleteLogicById(Long id, Long shopId);

    /**
     * 删除运费模板
     * @param Id
     * @return
     */
    int deleteById(Long Id, Long shopId);


}
